from django.urls import path
from . import views

urlpatterns = [
    path('', views.merchant_list, name='merchant_list'),
    path('<int:merchant_id>/', views.merchant_detail, name='merchant_detail'),
    path('<int:merchant_id>/menu/', views.menu, name='menu'),
    path('dashboard/', views.merchant_dashboard, name='merchant_dashboard'),
    path('orders/pending/', views.pending_orders, name='pending_orders'),
    path('orders/completed/', views.completed_orders, name='completed_orders'),
    path('menu/manage/', views.manage_menu, name='manage_menu'),
    path('menu/add-item/', views.add_menu_item, name='add_menu_item'),
    path('menu/edit-item/<int:item_id>/', views.edit_menu_item, name='edit_menu_item'),
    path('menu/delete-item/<int:item_id>/', views.delete_menu_item, name='delete_menu_item'),
]
